Memory device and method for monitoring the performances of a memory device

ABSTRACT

The present disclosure relates to method for checking the reading phase of a non-volatile memory device including at least an array of memory cells and with associated decoding and sensing circuitry and a memory controller, the method comprises:
         storing in a dummy row associated to said memory block at least internal block variables and a known pattern;   performing a reading of said dummy row;   comparing a result of the reading with the known pattern;   trimming the parameters of the reading and/or swapping the used memory block based on the result of the comparing.

TECHNICAL FIELD

The present disclosure generally relates to memory devices, and more particularly relates to methods for setting operating parameters of an integrated memory circuit.

More particularly, the present disclosure relates to a memory device and a corresponding method for self trimming operating parameters of a memory device and for monitoring the performances and healthiness of the memory device.

BACKGROUND

Memory devices are well known in the electronic field to store and allow accessing to digital information. In general, different kind of semiconductor memory devices may be incorporated into more complex systems including non-volatile memory components and/or volatile memory components, for instance in so-called System-on-Chips (SoC) wherein the above-mentioned memory components are embedded.

Nowadays, however, the need of Real Time Operative Systems, in particular for automotive applications requires SoC with more and more increased performances and efficiency and the known solutions no longer satisfy these requirements.

Non-volatile memory can provide persistent data by retaining stored data when not powered and can include NAND flash memory or NOR flash memory, among others. NAND flash has reduced erase and write times, and requires less chip area per cell, thus allowing greater storage density and lower cost per bit than NOR flash.

An important feature of a flash memory is the fact that it can be erased in blocks instead of one byte at a time. However, one key disadvantage of flash memory is that it can only endure a relatively small number of write and erase cycles in a specific block.

Flash memory devices can include large arrays of memory cells for storing data, frequently organized into rows and columns. Individual memory cells and/or ranges of memory cells can be addressed by their row and column. When a memory array is addressed, there may be one or more layers of address translation, to e.g., translate between a logical address utilized by a host device (i.e. the SoC) and a physical address corresponding to a location in the memory array.

Although uncommon, it is possible for the address information provided to a memory device on a command/address bus thereof to be corrupted by an error, such that an internal operation of the memory device (e.g., a read operation, a write operation, an erase operation, etc.) can be performed on a different physical address than was targeted by a host device or a controller of the memory device.

Accordingly, a way to verify that a memory operation has been performed at the intended address is required and the present disclosure is focused on methods for checking the correctness of the reading phase.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a schematic view of a system including a memory component associated to a controller exchanging data, address and control signals with the memory device;

FIG. 2 is a schematic view of the memory component according to the present disclosure;

FIG. 3 is a schematic layout view of an example of the memory component according to embodiments of the present disclosure;

FIG. 4 is a schematic view of a memory block formed by a plurality of rows of the memory array according to one embodiment of the present disclosure;

FIG. 5 is a schematic view of a group of address registers for a memory page in the memory component of the present disclosure.

FIG. 6 shows in a schematic diagram the distribution of a correctly erased/programmed cell (1 bit/cell);

FIG. 7 shows a diagram corresponding to FIG. 6 reporting an enlarged distribution shifted toward the depletion state (negative Vth) due to aging, temperature and stress;

FIG. 8 shows in block diagram an example of the method steps of the present disclosure.

DETAILED DESCRIPTION

In the following detailed description, reference is made to the accompanying drawings that form a part hereof and in which is shown, by way of illustration, specific embodiments. In the drawings, like numerals describe substantially similar components throughout the several views. Other embodiments may be disclosed and structural, logical, and electrical changes may be made without departing from the scope of the present disclosure. The following detailed description is, therefore, not to be taken in a limiting sense.

Several embodiments of the present disclosure are directed to memory devices, systems including memory devices and methods of operating memory devices avoiding the potential problems of aging, temperature and process drift during memory operation.

In one embodiment of the present disclosure a new memory architecture is provided for an improved safety and performances of the data erasing phase in the non-volatile memory device.

More specifically, the present disclosure relates to a non-volatile memory device including at least an array of memory cells with associated decoding and sensing circuitry and a memory controller, wherein the memory array comprises:

-   -   a plurality of sub-arrays;     -   a plurality of memory blocks in each sub-array;     -   at least a dummy row for each block located inside or outside         the address space of each block for storing at least internal         block variables of the reading phase and at least a known         pattern.

The above-mentioned said known pattern is also stored in the memory controller.

The internal block variables are parameters used during the reading phase of the memory block.

More specifically, the internal block variables are parameters such as the reading pulses and/or the target voltages applied to the memory block during the reading phase.

The dummy row is physically realized close to the pertinent memory block to be subject of the same drift due to temperature and aging of the memory device.

Moreover, the internal block variables of a previous reading phase are retrieved from said dummy row before starting the reading algorithm on the memory block.

For a better understanding of the present disclosure, it should be noted that Flash memories have developed into a popular source of non-volatile memory for a wide range of electronic applications.

Flash memories typically use basic storage element; for instance, a transistor as storage element is used in all technologies employing a floating gate, a charge trap, a split gate and the like. Other technologies like 3D XPoint or PCM memories adopt another kind of basic storage element. However, in both cases there is a need to maintain in time the stored data and to read such a data in the faster manner.

When a memory array is addressed, there may be one or more layers of address translation, for instance a translation between a logical address used by a host device and a physical address corresponding to a location in the memory array.

Moreover, it may happen that temperature variations inside a same device may generate reading drifts called ghost temperature issue.

The drawback connected to such temperature variations and/or the age of the device has an impact on the real bit distribution that is detected by the sense amplifiers as moved with respect to the ideal central value for which they have been programmed.

Under some circumstances, such drifted and/or enlarged threshold voltage distributions may cause the same problems during reading as an incomplete erase operation, as it will appear from the following description.

Just to give a practical example, if the programming phase has been performed at −40° C., it may happen that at 120° C. the reading results include many errors. This is a real issue for all chips incorporated into automotive devices wherein a raising of the temperature during the operation of a vehicle must be taken in consideration.

Therefore, the reading phase of the memory device is never performed in environments conditions similar to the original programming phase; this is true also for the erasing phase.

A memory device may be defined a sort of “real time” device in the sense that if must release reliable data in all environment operation condition, no matter if it has been tested in the factory reporting an approval because of positive results of the test.

Moreover, the drift due to temperature is further increased by the age of the device and this problem could be particularly delicate for memory devices incorporated into System-on-Chip driving autonomous vehicles.

FIG. 1 illustrates a schematic example of a system 10 incorporating a flash memory device or component 100. The system also includes a memory controller 101 that is coupled to the memory device 100.

The controller 101 is shown coupled to the memory device 100 over a data bus 105, a control bus 106, and an address bus 107. In one embodiment, the data bus could be a 64 bit and/or 128 bit wide double data rate (DDR) bus.

The system device 10 shown in FIG. 1 can be a host device or a System-on-Chip coupled to the memory component 100, as will appear from the description of other embodiments of the present disclosure made with reference to other figures. In any case, the System-on-Chip 10 and the memory device 100 are realized on a respective die obtained by a different lithography and manufacturing processes.

FIG. 2 is a schematic view of the memory component according to the present disclosure. The memory component 100 is an independent structure but it is strictly associated to the host device or to the SoC structure. More particularly, the memory device 100 is associated and linked to the SoC structure partially overlapping such a structure while the corresponding semiconductor area of the SoC structure has been used for other logic circuits and for providing support for the partially overlapping structurally independent memory device 100 for instance through a plurality of pillars or other similar alternative connections such as ball on grid or with a technology similar to Flip-Chip.

More specifically, this non-volatile memory component 100 includes an array 90 of Flash memory cells and a circuitry located around or under the memory array. The coupling between the SoC structure 10 and the memory component 100 is obtained by interconnecting a plurality of respective pads or pin terminals that are faced one toward the other in a circuit layout that keeps the alignment of the pads even if the size of the memory component is modified.

In one embodiment of the present disclosure, the arrangement of the pads of the memory component has been realized on a surface of the memory component 100, in practice on the top of the array. More specifically, the pads are arranged over the array so that, when the memory component 100 is reversed, its pads are faced to corresponding pads of the host or SoC structure 10. Signals of data (105), command (106) and address (107) busses are transferred through the pads described above; the pads may also be used for power supply voltages as well as other signals and/or voltages.

At the end, the memory device 100 is manufactured according to the user's needs in a range of values from at least 128 Mbit to 512 Mbit or even more. More specifically, the proposed external architecture allows to overpass the limit of the current eFlash (i.e. embedded flash technology) allowing the integration of bigger memory, as it can be 512 Mbit and/or 1 Gbit and/or even more depending on the memory technology and technology node.

With more specific reference to the example of FIG. 2, the main structure of the memory component 100 according to an embodiment of the present disclosure will be disclosed.

The memory component 100 includes at least: an I/O circuit 5, a micro-sequencer 3, an array of memory cells 90, voltage and current reference generators 7, charge pumps 2 and decoding circuitry 8 located at the array periphery or under the array, sense amplifiers 9 and corresponding latches, a command user interface, for instance a CUI block 4.

The array of memory cells 90 includes non-volatile Flash memory cells. The cells can be erased in blocks instead of one byte at a time. Each erasable block of memory comprises a plurality of non-volatile memory cells arranged in a matrix of rows and columns. Each cell is coupled to an access line and/or a data line. The cells are programmed and erased by manipulating the voltages and timing on the access and data lines.

To write and erase the memory cells of the Array 90 it is provided a dedicated logic circuit portion including a simplified Reduced Instruction Set Computer (RISC) controller or a Modify Finite State Machine or that is the logic circuit for handling the programming and erasing algorithms.

To read the memory cells of the Array 90 it is provided a dedicated circuit portion including an optimized Read Finite State Machine that is used to ensure high read performance, such as: branch prediction, fetch/pre-fetch, interrupt management, and so on. The error correction is left, as operation, to the SoC 10; the additional bits are provided to the controller 101 to store any possible ECC syndrome associated with the page. The ECC cells allows the host controller to understand if corruption is happening in the data plus address content.

Errors that affect address information provided to the memory device on a command or address bus can cause a memory operation to be performed on a different memory address than the desired address.

In this respect the controller is configured to receive a data word to be stored at an address in the array of memory cells. The controller is further configured to command the array to read the data word from the address, to receive response data from the array and to verify that the location indicia of the response data corresponds to the desired address.

If the location indicia do not correspond to the address, the controller is configured to indicate an error. This error is detected in metadata including ECC information.

ECC information is stored adjacent the data for which it provides error correction capabilities.

Coming now to a closer look to the internal structure of the memory component 100 it should be noted that the architecture of the array 90 is built as a collection of sub arrays 120, as shown schematically in FIG. 3.

The sense amplifiers SA at the output of each sub array 120 are connected directly to modified JTAG cells 140 to integrate a JTAG structure and the sense amplifiers in a single circuit portion. This allows reducing as much as possible the delay in propagating the output of the memory array to the SoC.

Each sub-array 120 contains multiple memory blocks 160 that will be disclosed later with reference to FIG. 4.

In this manner, having smaller sectors if compared to known solutions the access time is significantly reduced and the whole throughput of the memory component is improved.

Each sub array 120 is independently addressable inside the memory device 100. Moreover, the memory array 90 is structured with, for example, at least four memory sub arrays 120 one for each communication channel with a corresponding core of the host device or SoC 10. A different number of cores and/or sub arrays may be used. The host device or the System-on-Chip 10 normally includes more than one core and each core is coupled to a corresponding bus or channel for receiving and transferring data to the memory component 100.

Therefore, in the present implementation each sub-array 120 has access to a corresponding channel to communicate with a corresponding core of the System-on-Chip 10.

It should be further noted that each subarray 120 includes address registers connected to data buffer registers, similarly to an architecture used in a DRAM memory device.

Moreover, according to one embodiment of the present disclosure at least a dummy row 300 is associated to each block 160 of the memory sub array 120.

This dummy row 300 is located inside or outside the address space of the memory array 90 and is used for the optimization of the read, write and erase parameters.

Moreover, this dummy row is used for erase robustness monitor, for good completion of modify operations and others purpose.

According to another embodiment, the dummy row of a block 160 is provided in another block of the memory sub-array 120; this may allow to keep a single dummy row updated for a plurality of memory blocks that may be subject to same environmental variation conditions.

A skilled in this art may appreciate that such a dummy row may also be in a dedicated portion of the memory array (e.g., not in one of the sub arrays coupled to the SoC). Moreover, if the content of this “external” row is invalidated, then it will have to be up-dated, e.g., rewritten, so it will have to be erased, but such an operation implies erasure of the whole block where such an “external” row is located in a NAND memory.

Dummy row 300 may contain information useful for tracking parameters that may be used during the read and erase phases of the memory component 100 and/or to store some parameters for discovering a possible occurred power loss.

The dummy row 300 contains a pattern that is known to the controller 101 of the memory device 100.

Let's suppose to record in the dummy row 300 a known pattern value like 0x55 or 0xAA in hexadecimal form. This value is particularly suitable since it includes the same amount of “0” logic values and “1” logic values that are stored inside the array in two distinct flash memory cells, with two different threshold values.

In a further embodiment, the above well known pattern is not limited to a value in hexadecimal form such as 0x55 or 0xAA, for example, but it also includes an up-date of the erasing parameters such as for instance: amplitude/number of pulses in staircase and/or erase/depletion verify levels.

In any case, since those values are known a priori also by the memory controller, the system will perform some reading cycles changing the read trimming parameters up to the moment when the value will be read correctly. The changed trimming parameter of the correct reading will correspond to a set temperature value recorded in the programmable register. In case of multilevel cell memory (N levels), the values to be stored may be chosen to cover all the N levels present in the memory array. For example, the known pattern may include cells programmed in all the available levels of the Multi-Level Cell memory device.

Only when the trimming parameters set for the reading phase perfectly allow to retrieve the correct known value then the reading phase of the other memory blocks of the sub array 120 may be performed.

In one embodiment of the present disclosure the output of a generic sub-array 120 is formed by an extended page combining data cells, address cells and ECC cells. In this example, the total amount of Bits would involve 168 pads per channel as shown in FIG. 5.

The combined string of data cells+address cells+ECC cells allows implementing the whole safety coverage of the bus according to the standard requirements of the rule ISO26262, because the ECC covers the whole bus communication (data cells+address cells), while the presence of the address cells provide the confidence that the data is coming exactly from the addressed location of the controller.

Moreover, each memory sub array 120 is structured in memory block 160. The architecture of a memory block comprising each location of the memory array may be defined as extended page 150. An extended page is 128 bit I/O needed for the SoC and a 16 bit of ECC involving 24 bit addressing (up to 2G bit of available space).

A schematic view of the output of the sense amplifiers SA through the modified JTAG cells 140 is shown in FIG. 5 wherein it may be appreciated the composition of an extended page 150 with 168 Bits, as non limiting example.

Said differently, the atomic page of 128 bits used in each sub-array 120 to fill the communication channel with the SoC device 10 has been enlarged in the present implementation to contain the stored address and the ECC forming an extended page of 168 Bits. Two extended pages 150 form a “super page”.

Each memory block 160 contains 256 rows and each row 135 includes sixteen extended pages of the above size. Each super page includes a couple of 168 Bits as a combination of data, addressing and ECC Bits. Therefore, each row 135 of the memory array 90 can contain up to eight double pages of 128 bits each, plus the address and ECC syndrome spare bits per page.

Just to give a numeric value, an extended page is formed by 128+16+24=168 Bits and sixteen extended pages per each row 135 comprise 168*16=2688 bits.

Therefore, each row 150 of a memory block 160 includes at least sixteen pages comprising a memory word plus the corresponding address Bits and the corresponding ECC Bits. Obviously, another size can be selected and the reported value are just for illustration purpose of a non-limiting example. The outcome of the blocks is driven directly to the host device or SoC 10 without using high power output buffers and optimizing the path.

According to the present disclosure, the temperature and aging drift affecting the memory array 90 may be detected by the memory component 100 itself using a stored reference.

By using the drift information of the well-known pattern stored, it is possible to set the best parameters to be used on the next erase operation. In particular, such information can be used for correctly trimming all the voltage values and the timing (i.e. signal shape) to be used in each phase of erase algorithm.

In general, the right level of voltage and timing to be used in each erase phase must follow the technological guide line. Such guidelines are provided by Flash cells technologist as a map between the level of aging and the associate values voltage/timing to be used. According to such guidelines, a plurality of well-known or predefined parameter may be defined a priori for the given technology and be stored in the die. Such parameters may be further adjusted during electrical testing of the die to account for process variations, for example.

In a further embodiment of the present disclosure, the parameters, adjusted or not, and/or the known patterns may be stored in the dummy row 300 during electrical wafer sort or at electrical testing, in some embodiments, and/or up-dated during operating life on the field, for example after erase operation is correctly completed.

Let's now see the erase procedure according to this methodology:

The well-known patterns are read from the dummy row 300 and elaborated by the internal controller in order to determine the best parameters to be used in the next steps. Then the erase algorithm can start.

If a power loss occurred during a precedent erase operation, the parameters may not present in the dummy row 300. This event must be recovered by erasing the whole block. Otherwise the block cannot be correctly programmed or read. The lack of parameters in the dummy row may be confirmed by a mismatch between a pattern (also normally present in the dummy row 300, as it will be explained in more detail below) and an expected known pattern.

Under normal operating conditions, to erase this kind of memory device, it is generally provided a pre-program phase, also known as program all( ).

Normally, before starting the erasing phase, the thresholds of the cells to be erased are moved toward the program state. This is done by issuing some blind (i.e. without verify) program pulses.

With this procedure the number of pre-program pulses to be issued and/or the voltage to be used are chosen according to the previous reding step of the dummy row.

During an erase pulse phase, the voltage and pulse duration can be set to fast and safe erase the cells in the block (according to the previous erasing phase).

If the block is cycled (many program-erase cycles, estimated by using drift information) some appropriate strong voltages and pulses duration are used. Normally a block is erased by applying several erase pulses at different (negative for the gate voltage and/or positive for the body-source). This sequence may be referred to as staircase.

Once an erase pulse is issued (as above) the erase cells status is verified by applying a proper cell gate voltage value to be used to perform an erase verify, with enough margin, to guarantee a well erased cell distribution.

In other words, a first step #1 is based on erase pulses in the staircase while a second step #2 is based on an erase verify. The drift information can be used to select the right erase verify values.

For instance, FIG. 6 shows in a schematic diagram the threshold voltage distribution of correctly erased/programmed (1 bit/cell) cells. All the cell threshold population are correctly confined in the boundary assigned (i.e. programmed ‘0’, featuring a threshold voltage higher than a reference program verify level PV, or erased ‘1’, featuring a threshold voltage comprised between a depletion verify DV reference value and an erase verify level EV reference voltage). The steps #1 and #2 (erase pulse and erase verify) are repeated up to all the cells satisfy the erase verify criteria.

Once all the cells are correctly (erased) verified, it is also checked if there are cells with a too low threshold. In the FIG. 6 this is shown by the label depletion verify, DV.

In case of depletion a soft-program operation is issued on the cells that need it. The parameters to be used to perform a soft-drift of the cells, in order to right place the thresholds inside the erase cell distribution can be chosen according the aging level of the cells.

A wrong selection of such a parameter can cause a bad placement of the cells' threshold outside the erased distribution (over the erase verify value) and this would imply that the block must be erased again starting from the above step #1 of providing the erase pulses (this would be a time consuming).

Once the erase is complete (the above phases are done) the well known pattern or even the erasing parameters (i.e. amplitude/number of pulses in staircase and/or erase/depletion verify levels etc.) are written in the row 300 to be used on the next erase cycle. In particular, the pattern that was selected by the storing of the set values (0x55, 0xAA etc.) are programmed and verified (e.g., the threshold voltage is higher than the program verify level PV in FIG. 6) accordingly by using an appropriate program pulse which voltage and timing are depending on the current aging level of the block.

By using the drift information and the number of erase pulses provided in the erase phase (step #1 above) it is possible to infer that a block is near to its end of life.

This information could be used as warning for the customer or as flag for internal algorithm in order to trigger a possible block wear leveling or OFBR (On Field Block Redundancy) operation, if implemented. OFBR consists in the replacing of the block with a spare one.

For a better understanding of the present disclosure it may be appreciated that it is common practices, also in NOR memories, to use a block wear leveling feature as methodology to improve the reliability of the information stored. This method consists in the spreading of the number of program/erase cycles across all the blocks in the whole memory array.

This permits a uniform aging of the blocks to avoid blocks that are fresh (less used) and other very used (cycled many times).

If the host device uses extensively one block, internally (automatically) it is swapped with one which is less used.

Inside the devices there exists a non-volatile map between physical block address and logical block address (the one used by the host). Initially in such map physical and logical addresses may be coincident, for instance:

Physical blk addr|logical blk addr, such as:

0x1000 0x1000 0x3000 0x3000

And so on for all the blocks.

If the host device wants using the block at address 0x3000, the device may recover in such maps the physical address and internally works with the physical address.

Once, a block is detected to be extensively used (“cycled”) it is “swapped” with one which is less used. In practices the above map is updated in this way, for instance:

Physical blk addr logical blk addr 0x1000 0x1000 0x6000 (fresh block, or less aged blk) 0x3000 0x3000 (aged blk) 0x6000 (fresh)

Starting now from a situation wherein the host device is referring to the block 0x3000, internally the selectin provides for the use of the block 0x6000 and vice versa (swap). This mechanism iterated permit to balance the number of erase/program among different blocks across the whole array.

In known solutions this methodology is based on the counting of the number of erase cycles did on each block; however, this has the disadvantage to require a non-volatile counter for each block with an increase of the device costs.

On the contrary, the solution proposed by the present disclosure is based on the real block aging that takes into account not just on number of program erase, but also possible other stress condition like temperature cycles. Seen in a different way, it is here disclosed a method based on an actual measure of the aging, rather than on an estimated potential aging.

Once the device is manufactured a large number of bits 0/1 are stored as a well-known pattern in the dummy row 300 of FIG. 4. A possible example of well-known pattern is an hexadecimal value like 0x55 or 0xAA.

The Bits representing those values do not need necessary to be in common with the other used on other patent deck; for instance, different dummy rows may be used for different features.

Those Bits are used as measure of the aging.

FIG. 7 shows a diagram corresponding to FIG. 6 but reporting an enlarged distribution due to aging, temperature and/or stress. With the aging, temperature and/or stress the threshold voltage distributions tend to enlarge, e.g., broaden, and to drift. According to the methodology of the present disclosure it is possible to use to track the distribution enlargement and the cells degradation and use this information to correct the next erase pulses. This permits to improve the reliability and the performances of the erase phase.

The trimming sequence to perform a reading phase of the memory array at different temperatures or different aging of the memory devices may be defined in a lab during the technology development phase and/or product testing and stored in a programmable register of the memory controller 101.

According to the invention, a regulation of the parameters used during the erasing phase may be performed in the similar manner during operation in the field.

For the content of a correct reading phase the real temperature value at which the reading phase is performed is not important. Such a temperature could be higher (even much higher) or lower if compared to the temperature at which the programming phase of the known value has been performed.

The system is automatically protected by any thermal drift since the reading trimming parameters are selected after having performed the correct reading of the known pattern stored in the dummy row 300 and having set accordingly the trimming parameter for subsequent data reading.

The procedure allows to identify the more suitable reading trimming parameters for a correct reading phase at a certain temperature value. It is not necessary to repeat such a procedure at each reading phase or access. On the contrary, such a procedure may be performed periodically (for example after lapse of a predefined duration of time, or based on a triggering event, such as detection of a temperature change) or, in a more appropriate manner, when possible problems are detected, for example by the ECC bits increasing in an anomalous way.

It happens for instance that an increased number of ECC bits are reporting an excessive number of wrong reading from the memory device. In such a case, the system may automatically start the procedure for detecting a possible thermal drift and a consequent need to change the trimming parameters. It should be noted that the disclosed solution is not limited to compensating for temperature variations, but it may also account for endurance (e.g., high cycling) effects and other possible source of errors.

The dummy row 300 may be used also as indication for verifying a possible fail of the erase operation.

The method of the present disclosure allows to properly check the status of the memory component 100, or better of a memory block 160.

One embodiment of the present disclosure relates to a method for monitoring the performances or the status of a non-volatile memory device including at least an array of memory cells and with associated decoding and sensing circuitry and a memory controller, the method comprising:

-   -   storing in a dummy row associated to said memory block at least         internal block variables of a known pattern;     -   performing a reading of at least said dummy row;     -   comparing the result of the reading with the known pattern;     -   swapping the used memory block according to the result of the         comparison.

The reading of said dummy row may be performed with the memory device isolated from the external environment.

Phases of a method 800 according to the present disclosure for monitoring the performances or the status of a memory device are schematically illustrated in the example of FIG. 8 wherein a first phase 810 is dedicated to store in the dummy row 300 at least the internal block variables of the reading operation. The first storing phase is performed when the memory device is manufactured. Such a storing phase may be repeated during device operation in the field to up-date the internal block variables.

In a further method phase 820 it is performed a reading phase of the dummy row 300 of at least a memory block 160.

Then, in a subsequent phase 830 there is comparison between the pattern read from the dummy row 300 with the know pattern, that is known to the memory controller.

Based on the comparison he memory block may be swapped or shifted if there is an evident gap between the known and expected parameters and the result of the reading. This is evidenced in step 840.

The content of the dummy row 300 includes also at least the known pattern, meaning the previously mentioned known hexadecimal value. As an alternative, example of known patterns are the following: 0x0, 0x1, 0x2, . . . 0xF or any other sequence that involves a number of bits set to zero and set to one in a similar amount, such as: 0x55, 0xAA, 0x33 etc. As previously mentioned, in case of Multi-Level Cells storing more than a single bit in one physical cell, a corresponding known pattern shall be chosen to account for correct detection of all possible threshold voltage levels.

The content of the dummy row 300 may include also the parameters that are used not only for a reading phase but also parameters used during the erasing phase of the block, for instance: the erase pulses, the target voltages, etc.

Moreover, periodically, for instance on host demand, or automatically at power-up, or at each erase command etc. . . . the status of such well-known pattern is checked by performing a read operation (like a program verify) with an appropriate (variable) gate voltage Vgate.

Such operation is used to determine the less programmed Bit (PV_worst in FIG. 7) in the initial well-known pattern programmed. As a matter of fact, after aging and/or under different temperature conditions, the actual threshold voltage of memory cells may vary with respect to the original value; by knowing the pattern (e.g., the logical value stored) it is possible to trim the reading voltage until it is correctly read.

Such information (amount of threshold voltage distribution drift toward lower voltages, e.g., broken line distribution in FIG. 7, with respect to the initial threshold voltage distribution, e.g., unbroken line distribution in FIG. 7) is used to estimate, according a mapping associated to the technological parameters, the degree of aging of the block (due to its usage, temperature cycles etc. . . . ).

The degree of aging is used as criteria to decide which block must be swapped with what (a fresh one, as usual in literature). This substitution can be done either on host demand or automatically (for example hidden on the next erase command issued). For example, a block swapping or substitution may be triggered when the difference between initial program verify level and worst program verify level exceed a predefined threshold.

Let's now see how the erase operation is performed according to the method of the present disclosure.

It is important that, at each block erase operation, the aging information will be programmed again, on the rows 300 group, at end of the algorithm.

Before starting a block erase the PV_worst value is determined (i.e. the voltage threshold value of the worst programmed cell) and stored in a non-volatile place (backup area) to avoid losing it in case of an incomplete erase.

Once the erase algorithm, or any other legacy flow is completed, the well-known pattern is re-programmed (on the dummy 300 row), but its distribution is placed around the PV_worst value determined above, this to take into account of the current aging level.

The backup area is cleared to be available for a next erase in the future

In case of an incomplete erase, such value is recovered from the backup area, and once an incomplete erase condition is recovered by reissuing an erase (automatically or on host command) such values is stored in the dummy row 300 of FIG. 4 or in the alternative memory dummy area of another block, as previously disclosed.

In this respect, as a non-volatile it may be used a block devoted for this purpose or any other location providing a non-volatile register in memory devices.

A preliminary step of the reading algorithm is to invalid (e.g, flag, overwrite, or anyway delete) the content of the dummy row for storing in the dummy row 300 the new reading variables at the end of the reading phase.

The content of the dummy row 300 includes at least internal block variables meaning the parameters that are used during the reading phase of the block, for instance: the reading pulses, the target voltages, etc.

Moreover, the content of the dummy row 300 includes also at least the known pattern, meaning the previously mentioned known hexadecimal value. As an alternative, example of known patterns are the following: 0x0, 0x1, 0x2, . . . 0xF.

The method of the present disclosure provides for performing the reading algorithm using the specific parameters. In other words, the internal block variables of a previous reading phase are retrieved from said dummy row 300 before starting the reading algorithm on the memory block 160.

The completion of the reading algorithm is done storing the erase critical parameters and the known pattern.

As a matter of fact, the storage of the critical parameters can provide feedback on the healthiness of the block, determining also the way the wear leveling must be applied to the block 160 of the sub-array 120.

The presence of the known pattern at the end of the dummy row ensures the correctness of the reading operations.

The method of the present disclosure allows obtaining a periodical check of the status of the memory device and the possibility to shift the use of a memory block in case of problems due to the age of the block itself since it is possible obtaining a secure feedback of the correctness of the read or erase operation even in different operating environmental conditions.

The architecture and method of the present disclosure provide the possibility to follow the any drift due to the aging of the memory device and/or the memory device or the system to which the memory device is coupled. Correct reading under different temperature conditions is also compensated for.

Moreover, the system is programmable and up-dateable since the dummy row 300 wherein the known value is recorded may be deleted and re-programmed according to the needs, so even according to an environmental change for the memory device.

Although specific embodiments have been illustrated and described herein, those of ordinary skill in the art will appreciate that an arrangement calculated to achieve the same results can be substituted for the specific embodiments shown. This disclosure is intended to cover adaptations or variations of various embodiments of the present disclosure. It is to be understood that the above description has been made in an illustrative fashion, and not a restrictive one. Combination of the above embodiments, and other embodiments not specifically described herein will be apparent to those of skill in the art upon reviewing the above description. The scope of the various embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of various embodiments of the present disclosure should be determined with reference to the appended claims, along with the full range of equivalents to which such claims are entitled. 

1-30. (canceled)
 31. A non-volatile memory device including an array of memory cells with associated decoding and sensing circuitry and a memory controller, wherein the memory array comprises: a plurality of sub-arrays; a plurality of memory blocks in each sub-array; and a dummy row for each block for storing internal block variables of a reading phase and a known pattern.
 32. The non-volatile memory device of claim 31, wherein the known pattern is also stored in the memory controller.
 33. The non-volatile memory device of claim 31, wherein internal block variables comprise parameters used during the reading phase.
 34. The non-volatile memory device of claim 31, wherein the internal block variables comprise reading pulses, target voltages, or both applied during the reading phase.
 35. The non-volatile memory device of claim 31 configured to: retrieve internal block variables of a previous reading phase from the dummy row and; start another reading phase of the memory block based at least in part on the internal block variables of the previous reading phase.
 36. The non-volatile memory device of claim 31, wherein the dummy row is physically realized close to the pertinent memory block.
 37. The non-volatile memory device of claim 31, wherein the dummy row is provided in another block of the memory sub-array.
 38. The non-volatile memory device of claim 31, wherein each memory block includes at least 256 rows of memory cells.
 39. The non-volatile memory device of claim 38, wherein each row includes at least sixteen extended pages each formed by a combination of data bits, address bits, and error correction code (ECC) bits of a memory location.
 40. A system, comprising: a host device; a non-volatile memory device coupled to the host device and comprising at least an array of memory cells with associated decoding and sensing circuitry and a memory controller, a plurality of sub-arrays in the memory array; a plurality of memory blocks in each sub-array; and a dummy row for each block for storing at least internal block variables of a reading phase and at least a known pattern.
 41. The system of claim 40, wherein: the known pattern is stored in the memory controller; the internal block variables comprise parameters used during the reading phase; and the internal block variables comprise reading pulses, target voltages, or both applied to the memory block during the reading phase.
 42. The system of claim 40, wherein the non-volatile memory device is configured to retrieve the internal block variables of a previous reading phase from the dummy row and to start a subsequent reading phase on the memory block based at least in part on the internal block variables of the previous reading phase.
 43. The system of claim 40 wherein: each memory block includes at least 256 rows of memory cells; and each row includes at least sixteen extended pages each formed by a combination of data bits, address bits and error correction code (ECC) bits of a memory location.
 44. The system of claim 40, wherein the reading phase of the dummy row is performed with the memory device isolated from the external environment.
 45. A method for checking the status of a non-volatile memory device including an array of memory cells including memory blocks and with associated decoding and sensing circuitry and a memory controller, the method comprising: storing in a dummy row at least internal block variables and a known pattern; performing a reading of at least the dummy row; comparing the result of the reading with the known pattern; and swapping a used memory block based on the result of the comparing.
 46. The method of claim 45, comprising updating the content of the dummy row periodically.
 47. The method of claim 46, wherein updating the content of the dummy row periodically comprises storing in the dummy row new internal block variables including reading pulses, target voltages, or both applied to the memory block during the reading.
 48. The method of claim 45, comprising retrieving the internal block variables of a previous erasing from the dummy row and starting a reading on a memory block different than the used memory block.
 49. The method of claim 45, further comprising obtaining an indication of a healthiness of the memory block based at least in part on the comparing.
 50. The method of claim 45, wherein the storing comprises storing in the dummy row the at least internal block variables and the known pattern at a manufacturing phase of the memory device. 